package com.raymond.entity.settlement;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.raymond.config.CustomerIntegerEnumDeserializer;
import com.raymond.config.CustomerIntegerEnumSerializer;
import com.raymond.entity.commons.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * desc-审批来源枚举
 *
 * @author houmenghe
 * @date 2025/04/21 17:05
 **/
@Getter
@AllArgsConstructor
@JsonDeserialize(using = CustomerIntegerEnumDeserializer.class)
@JsonSerialize(using = CustomerIntegerEnumSerializer.class)
public enum AuditSourceEnum implements BaseEnum {

    /**
     * 严选审批
     */
    OLD_AUDIT(1, "严选审批"),

    /**
     * 物资工匠审批
     */
    MATERIAL_CRAFTSMAN(2, "物资工匠审批"),

    /**
     * 云枢审批
     */
    YUN_SHU(3, "云枢审批");

    private final Integer value;

    private final String desc;
}
